package com.xo.common.pojo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@Schema(description = "商品分类实体类")
public class PmsCategoryEntity {

    @Schema(description = "分类ID")
    private Integer id;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "分类级别：1 一级，2 二级，3 三级")
    private Integer categoryLevel;

    @Schema(description = "父节点ID")
    private Integer categoryParentId;

    @Schema(description = "排序，值越大越靠前")
    private Integer sortOrder;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;

}
    